Version

Item(Int32[]) Property

An indexer for the BooleanMatrix. The Matrix can be indexed one-dimensionally or multi-dimensionally.
Syntax
'Declaration
 
Public Overloads Property Item( _
   ByVal ParamArray subscript() As Integer _
) As Boolean
public bool Item( 
   params int[] subscript
) {get; set;}

Parameters

subscript
A sequence of indices that correspond to the dimensions of the BooleanMatrix.

Property Value

The element specified by the subscript.
Exceptions
ExceptionDescription
System.ArgumentOutOfRangeException Occurs when the BooleanMatrix is empty.
System.ArgumentExceptionOccurs when the subscript is non-unitary and has a different number of dimensions than the BooleanMatrix.
System.ArgumentOutOfRangeException Occurs when a subscript index is out of the bounds of the BooleanMatrix.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also